﻿using System.Collections.Generic;
using System.Linq;
using LogManager.Base;
using LogManager.Base.Data;

namespace LogManager
{
    public interface IDataContext
    {
        IEnumerable<IEventService> Events { get; }
        IEnumerable<ILogService> Logs { get; }
        IServerService Servers { get; }
        IEnumerable<IEvent> GetEvents();
        ILog GetLog(string serverName, string logName);
        IEnumerable<ILog> GetLogs();
    }
}